package com.yezong.AidMe.entity;

public class User {
        private int id;
        private String phonenumber;
        private String password;
        private String sex = "保密";
        private String interest;
        private String name;
        private String location;
        private String photo;
        private Boolean cted = false;
        private String number = "1";

        public User(){}

        public User(String name, String password){
                this.name = name;
                this.password = password;
        }

        public int getId() {
                return id;
        }

        public void setId(int id) {
                this.id = id;
        }

        public String getPhonenumber() {
                return phonenumber;
        }

        public void setPhonenumber(String phoneNumber) {
                this.phonenumber = phoneNumber;
        }

        public String getPassword() {
                return password;
        }

        public void setPassword(String password) {
                this.password = password;
        }

        public String getSex() {
                return sex;
        }

        public void setSex(String sex) {
                this.sex = sex;
        }

        public String getInterest() {
                return interest;
        }

        public void setInterest(String interest) {
                this.interest = interest;
        }

        public String getName() {
                return name;
        }

        public void setName(String name) {
                this.name = name;
        }

        public String getLocation() {
                return location;
        }

        public void setLocation(String location) {
                this.location = location;
        }

        public String getPhoto() {
                return photo;
        }

        public void setPhoto(String photo) {
                this.photo = photo;
        }

        public Boolean getCted() {
                return cted;
        }

        public void setCted(Boolean cted) {
                this.cted = cted;
        }

        public String getNumber() {
                return number;
        }

        public void setNumber(String number) {
                this.number = number;
        }

        @Override
        public String toString() {
                return "User{" +
                        "id=" + id +
                        ", phonenumber='" + phonenumber + '\'' +
                        ", password='" + password + '\'' +
                        ", sex='" + sex + '\'' +
                        ", interest='" + interest + '\'' +
                        ", name='" + name + '\'' +
                        ", location='" + location + '\'' +
                        ", photo='" + photo + '\'' +
                        ", cted=" + cted +
                        ", number='" + number + '\'' +
                        '}';
        }

}
